package com.huibo.shopping.common.interfaces;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value="COMMON-SERVICE")
@RequestMapping("/common")
public interface RedisInterface {

	@GetMapping("/get/{key}")
	public String get(@PathVariable("key") String key);
}
